/*
 * > /*
>  * INSANE - Interactive Structural Analysis Environment
>  *
>  * Copyright (C) 2003-2004
>  * Universidade Federal de Minas Gerais
>  * Escola de Engenharia
>  * Departamento de Engenharia de Estruturas
>  *
>  * Author's email :     insane@dees.ufmg.br
>  * Author's Website :   http://www.dees.ufmg.br/insane
>  *
>  * This program is free software; you can redistribute it and/or
>  * modify it under the terms of the GNU General Public License
>  * as published by the Free Software Foundation; either version 2
>  * of the License, or any later version.
>  *
>  * This program is distributed in the hope that it will be useful,
>  * but WITHOUT ANY WARRANTY; without even the implied warranty of
>  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>  * GNU General Public License for more details.
>  *
>  * You should have received a copy of the GNU General Public License
>  * along with this program; if not, write to the Free Software
>  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-
> 1307, USA.
 *
 */

package br.ufmg.dees.insane.ui.rich.postp.postp_view;

import java.io.Serializable;
import java.util.ArrayList;

import br.ufmg.dees.insane.commons.view.ViewState;

/**
 * A class representing the state of the model.
 * @author	Penna, Samuel & Pitangueira, Roque
 * @since   april 2005
 */
public class LoadViewState extends ViewState implements Serializable {

	/**   */
	private static final long serialVersionUID = 1L;
	
	private boolean onDiskOpt = false;	
	private boolean onMemoryOpt = true;
	private boolean allStepsOpt = true;
	private String name;
	private String path;
	private int stepGap = 1;
    private ArrayList<String> stepLoaded = new ArrayList<String>();
    
    /**
     * The class constructor 
     */
    public LoadViewState() {   

    }

	/**
	 * The method return the allStepsOpt.
	 * @return Returns The allStepsOpt.
	 */
	public boolean isAllStepsOpt() {
		return allStepsOpt;
	}

	/**
	 * The method set the field allStepsOpt from the parameter allStepsOpt.
	 * @param allStepsOpt The allStepsOpt to set.
	 */
	public void setAllStepsOpt(boolean allStepsOpt) {
		this.allStepsOpt = allStepsOpt;
	}

	/**
	 * The method return the onDiskOpt.
	 * @return Returns The onDiskOpt.
	 */
	public boolean isOnDiskOpt() {
		return onDiskOpt;
	}

	/**
	 * The method set the field onDiskOpt from the parameter onDiskOpt.
	 * @param onDiskOpt The onDiskOpt to set.
	 */
	public void setOnDiskOpt(boolean onDiskOpt) {
		this.onDiskOpt = onDiskOpt;
	}

	/**
	 * The method return the onMemoryOpt.
	 * @return Returns The onMemoryOpt.
	 */
	public boolean isOnMemoryOpt() {
		return onMemoryOpt;
	}

	/**
	 * The method set the field onMemoryOpt from the parameter onMemoryOpt.
	 * @param onMemoryOpt The onMemoryOpt to set.
	 */
	public void setOnMemoryOpt(boolean onMemoryOpt) {
		this.onMemoryOpt = onMemoryOpt;
	}

	public int getStepGap() {
		return stepGap;
	}

	public void setStepGap(int stepGap) {
		this.stepGap = stepGap;
	}

	public ArrayList<String> getStepLoaded() {
		return stepLoaded;
	}

	public void setStepLoaded(ArrayList<String> stepLoaded) {
		this.stepLoaded = stepLoaded;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
    
    
   
}